/*
 * @Author: your name
 * @Date: 2021-03-15 15:14:07
 * @LastEditTime: 2021-03-15 17:55:03
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \test\src\utils\request.js
 */
import axios from 'axios'
// import store from '@/store'
// import { getToken } from '@/utils/auth'
// import { Dialog } from 'element-ui'
// import router from '../router'
// create an axios instance
const service = axios.create({
  // baseURL: process.env.VUE_APP_BASE_API // url = base url + request url
  // withCredentials: true, // send cookies when cross-domain requests
  baseURL: ''
  // timeout: 5000 // request timeout
})

export default service
